|
<table border="1" cellpadding="4"> <thead> <tr> <th>Title 1</th> <th>Title 2</th> </tr> </thead> <tbody> <tr> <td>cell 1</td> <td>cell 2</td> </tr> <tr> <td>cell 3</td> <td>cell 4</td> </tr> </tbody> </table> |
|
table - start a tabletbody and thead - HTML 4 features (optional)tr - a Table Rowth - a Heading Celltd - an Ordinary (Data) CellMany browsers do not like completely empty cells. A common practice is to place the non-breaking space entity, in empty cells. The example to the right has a completely empty cell in the upper right, and a in the lower left. |
|
slide 13
|
"Mastering a Web Site" online course Created and maintained by Lorna Schmid and David Boldt. http://water.usgs.gov/usgs/training/webmaster/html_tables.html Last modified: Wed Nov 12 17:41:13 EST 2003 |